package com.mjh.mapper;

import com.mjh.bean.Permission;

import java.util.Set;

/**
* @author ma
* @description 针对表【t_permission(权限表)】的数据库操作Mapper
* @createDate 2025-02-18 15:20:11
* @Entity com.mjh.bean.Permission
*/
public interface PermissionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

    Set<String> selectPermissionByUserId(Integer id);

    Set<Permission> selectMenuListByUserId(Integer id);
}
